<?php
$class_home 	= "";
$class_property = "";
$class_news 	= "";
$class_faq		= "";
$class_search 	= "";

switch($params[0]) {

    case $CONFIG_MODULE["property"]: {
            $class_property = "class='current'";
            break;
    }case


    $CONFIG_MODULE["news"]  : {
            $class_news     = "class='current'";
            break;
    }case


    $CONFIG_MODULE["faq"]   : {
            $class_faq	    = "class='current'";
            break;
    }case

    $CONFIG_MODULE["intro"]   : {
            $class_intro	    = "class='current'";
            break;
    }case

    $CONFIG_MODULE["search"]: {
            $class_search   = "class='current'";
            break;
    }default


    : {
            $class_home     = "class='current'";
            break;
        }
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>[page_title]</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name = "keywords" content = "[meta_keyword]"/>
        <meta name = "description" content = "[page_title]. [meta_description]"/>
        <link href="<?php echo SITE_CSS_URL; ?>/ancu.css" type="text/css" rel="stylesheet" />
        <link href="<?php echo SITE_CSS_URL; ?>/dropdown.css" type="text/css" rel="stylesheet" />
        <link href="<?php echo SITE_CSS_URL; ?>/default.advanced.css" type="text/css" rel="stylesheet" />
        
        <link href="<?php echo SITE_CSS_URL; ?>/popup.css" type="text/css" rel="stylesheet" />
       
            
        
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/jquery-1.3.2.min.js">
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/jquery.js"></script>
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/jquery.dropdown.js"></script>

        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/droplist.js"></script>
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/contentslider.js"></script>

        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/ddlevelsmenu.js"></script>
        
        <?php
        if($params[0]==$CONFIG_MODULE["property"]) {
            ?>
        <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;language=ja&amp;sensor=true&amp;key=ABQIAAAADafAm2bnZOTPSuCFSE9XwxTxidEnvjx2g6FpxxVAAJKzQSn5QhT9kYwcVBRU21Kza-U5wq2WLT3NuA" type="text/javascript"></script>
        <script type="text/javascript" src="<?php echo SITE_JS_URL; ?>/jquery.gmap-1.0.3-min.js"></script>
        <?php
        }
        ?>

        <script type="text/javascript">
            var AJAX_PROCESS_URL = '<?php echo AJAX_PROCESS_URL; ?>';
        </script>
      
    </head>

    <body >
        <div class="toppage">
            <div class="header">
                <div class="header_in">
                    <div id="logo" class="png"><a href="http://batdongsan.com" title="GTCReal"><img src="<?php echo SITE_IMAGES_URL; ?>/logo.gif" /></a></div>
                    <div id="sologan" class="png"><img src="<?php echo SITE_IMAGES_URL; ?>/sologan.png" /></div>
                </div>
                <!--
                <div class="header_menutop" >
    <div id="ddtopmenubar">
        <ul class="dropdown dropdown-horizontal">
            <li <?php echo $class_home; ?> ><span><a href="<?php echo SITE_URL; ?>" >Trang chủ</a></span></li>
            <li <?php echo $class_intro; ?>><span><a href="<?php echo get_link("intro"); ?>" rel="ddsubmenu1" >Giới thiệu</a></span></li>
            <li <?php echo $class_news; ?> ><span><a href="<?php echo get_link("news");?>" rel="ddsubmenu2" >Tin tức</a></span></li>
            <li <?php echo $class_property; ?>><span><a href="<?php echo get_link("property"); ?>">Sản phẩm giao dịch</a></span></li>
            <li <?php echo $class_project; ?> ><span><a href=""  >Thông tin dự án</a></span></li>
            <li <?php echo $class_document; ?> ><span><a href="" >Văn bản luật</a></span></li>
            <li <?php echo $class_faq; ?> ><span><a href="<?php echo get_link("faq"); ?>" >Hỏi đáp</a></span></li>
            <li <?php echo $class_contact; ?> ><span><a href="" >Liên hệ</a></span></li>           
        </ul>
    </div>
    <script type="text/javascript">
        try{
            ddlevelsmenu.setup("ddtopmenubar", "topbar");
        }
        catch (e)
        {
        }
        //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
    </script>
    <!--Top Drop Down Menu 1 HTML-->
<!--
    <ul id="ddsubmenu1" class="ddsubmenustyle">

        <li ><a href="#">Tập đoàn GTC</a></li>
        <li ><a href="#">Sàn giao dịch BĐS </a></li>
        <li><a href="#">Vai trò của sàn BĐS</a></li>

    </ul>
    <!--Top Drop Down Menu 2 HTML-->
    <!--
    <ul id="ddsubmenu2" class="ddsubmenustyle">
        <li ><a href="">Tin thị trường</a></li>
        <li ><a href="">Chính sách & Thủ tục</a></li>
        <li ><a href="">Qui hoạch</a></li>
        <li ><a href="">Sự kiện BĐS</a></li>
        <li ><a href="">Việt kiều cần biết</a></li>
        <li ><a href="">Nhìn ra thế giới</a></li>
        <li ><a href="">Thống kê & báo cáo</a></li>
        <li ><a href="">Ý kiến bạn đọc</a></li>
    </ul    
</div>
-->
                      <div >
                    <ul class="dropdown dropdown-horizontal">
                        <li <?php echo $class_home; ?> ><span><a href="<?php echo SITE_URL; ?>" >Trang chủ</a></span></li>
                        <li >
                            <span><a href="<?php echo get_link("intro"); ?>" class="dir">Giới thiệu</a></span>
                            <ul>
                                <li ><a href="#">Tập đoàn TSQLand Finace Group</a></li>
                                <li ><a href="#">Sàn giao dịch BĐS TSQLand</a></li>
                                <li><a href="#">Vai trò của sàn BĐS</a></li>
                            </ul>
                        </li>
                        <li <?php echo $class_news; ?> >
                            <span><a href="<?php echo get_link("news");?>" class="dir" >Tin tức</a></span>
                            <ul>
                                <li ><a href="">Tin thị trường</a></li>
                                <li ><a href="">Chính sách & Thủ tục</a></li>
                                <li ><a href="">Qui hoạch</a></li>
                                <li ><a href="">Sự kiện BĐS</a></li>
                                <li ><a href="">Việt kiều cần biết</a></li>
                                <li ><a href="">Nhìn ra thế giới</a></li>
                                <li ><a href="">Thống kê & báo cáo</a></li>
                                <li ><a href="">Ý kiến bạn đọc</a></li>
                            </ul>
                        </li>
                        <li <?php echo $class_property; ?>><span><a href="<?php echo get_link("property"); ?>">Sản phẩm giao dịch</a></span></li>
                        <li <?php echo $class_project; ?> ><span><a href=""  >Thông tin dự án</a></span></li>
                        <li <?php echo $class_document; ?> ><span><a href="" >Văn bản luật</a></span></li>
                        <li <?php echo $class_faq; ?> ><span><a href="<?php echo get_link("faq"); ?>" >Hỏi đáp</a></span></li>
                        <li <?php echo $class_contact; ?> ><span><a href="" >Liên hệ</a></span></li>
                    </ul>




                    <div class="formlogin">
                        <img src="<?php echo SITE_IMAGES_URL; ?>/iconlog.png" /><a href="<?php echo get_link("register").".html";?>" title="Đăng ký">Đăng ký</a><font color="#298cc1">l</font><img src="<?php echo SITE_IMAGES_URL; ?>/iconreg.png" /><a href="#">Đăng nhập</a>
                    </div>
                </div>
            </div>

            <div class="container">

